package com.example.demo.service;

import com.example.demo.pojo.Dto.GoodsDto;
import com.example.demo.pojo.Goods;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface GoodsService {
    public Goods selectGoodsById(Integer id);
    public List<GoodsDto> selectGoodsByParam(@Param("pro") String pro);
    public PageInfo<List<GoodsDto>> selectByName(@Param("name")String name, int pageNum, int pageSize);
    public PageInfo<GoodsDto> selectClassify(@Param("id") int id,int pageNum,int pageSize);
}
